<?php 
if (! defined('BASEPATH')) {
	exit('Access Denied');
}
?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>后台管理---导航菜单管理</title>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url() ;?><?php echo APPPATH ;?>/views/<?php echo TEMPLETE_STYLE ;?>/easyui.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url() ;?><?php echo APPPATH ;?>/views/<?php echo TEMPLETE_STYLE ;?>/admin.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url() ;?><?php echo APPPATH ;?>/views/icon.css">
	<script type="text/javascript" src="<?php echo base_url() ;?><?php echo APPPATH ;?>/views/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="<?php echo base_url() ;?><?php echo APPPATH ;?>/views/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="<?php echo base_url() ;?><?php echo APPPATH ;?>/views/common.js"></script>
	<script>
		function aa(){
			alert(1);
		}
	</script>
</head>
<body>
	<h2>后台导航列表菜单</h2>
	<div class="demo-info">
		<div class="demo-tip icon-tip"></div>
		
		<div>注意：第三级是功能接点不会在菜单中显示的,如果是一级菜单请不要填写url地址</div>
	</div>
	<!--编辑-->	
<div class="easyui-panel" title="New Topic" style="width:490px">
            <div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
            <form id="ff_edit" method="post" >
            	<input type="hidden" name="inajax" value="1">
                <table cellpadding=3>
                 			
                    <tr>
                        <td>导航名称：</td>
                        <td><input class="easyui-validatebox" value="<?php echo $info['name'];?>" id="nav_name" type="text" name="name" data-options="required:true" validType="length[3,16]" missingMessage="导航不可以为空" invalidMessage="导航长度必须在6-16位之间"></input></td>
                    </tr>
                    <tr>
                        <td>url地址:</td>
                        <td><input class="easyui-validatebox"  id="url" type="text" name="url" data-options="required:true"  missingMessage="url地址不可以为空" invalidMessage="请输入url地址"></input></td>
                    </tr>
                    <tr>
                        <td>状态:</td>
                        <td>
						<select class="easyui-validatebox"  id='status' name="status" data-options="required:true" missingMessage="状态请选择" invalidMessage="状态请选择">
							<option value="">请选择</option>
							<option value="1">开启</option>
							<option value="0">关闭</option>
						</select>
						
                    </tr>	
                    <tr>
                        <td>排序:</td>
                        <td><input class="easyui-validatebox"  id="disorder" type="text" name="disorder" data-options="required:true"  missingMessage="请输入排序为整数" invalidMessage="请输入排序为整数"></input></td>
                    </tr>					
                </table>
                </form>
            </div>
            <div region="south" border="false" style="text-align: right; height: 30px; line-height: 24px; margin-top:4px">
                <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" onclick="top.aa()">
             			   确定
				</a> 
				<a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)" onclick="parent.$('#edit_nav').window('close')">取消</a>
            </div>
</div>

</body>

</html>	
